# 对数字列表中数字的求和，
# 求平均值，求最大值，求最小值

def num_count():
    num = [44, 55, 88, 2, 99]
    sum_num = 0
    min_num = num[0]
    max_num =num[0]
    avg_num =0

    for i in num:
        sum_num += i
        if i < min_num:
            min_num= i
        if i > max_num:
            max_num = i
    avg_num = sum_num /len(num)
    print(sum_num)
    print(min_num)
    print(max_num)
    print(avg_num)
    

num_count()